package com.scpii.universal.service;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.hibernate.entity.SysCateAttributeTab;
import com.scpii.universal.hibernate.intface.BaseInterface;
import com.scpii.universal.util.SpringBeanFactory;

public class SysCateAttributeTabService implements
		BaseInterface<SysCateAttributeTab> {
	private static final Logger log = LoggerFactory
			.getLogger(SysCateAttributeTabService.class);
//	private BaseDao<SysCateAttributeTab> sysCateAttributeTabDao = SpringBeanFactory.sysCateAttributeTabDao;
	private BaseDao<SysCateAttributeTab> sysCateAttributeTabDao;
	
	public SysCateAttributeTab get(Integer id) throws Exception {
		return sysCateAttributeTabDao.get(id);
	}

	public List<SysCateAttributeTab> getAll() throws Exception {
		return sysCateAttributeTabDao.getAll();
	}

	public SysCateAttributeTab get(String propertyName, Object value)
			throws Exception {
		return null;
	}

	public List<SysCateAttributeTab> getList(String propertyName, Object value)
			throws Exception {
		return null;
	}

	public Long getTotalCount() throws Exception {
		return null;
	}

	public void save(SysCateAttributeTab obj) throws Exception {

	}

	public void update(SysCateAttributeTab obj) throws Exception {

	}

	public void delete(SysCateAttributeTab obj) throws Exception {

	}

	public void delete(Integer id) throws Exception {

	}

	public List<SysCateAttributeTab> hqlGetList(String hql,
			Map<String, Object> argsMap) throws Exception {
		return sysCateAttributeTabDao.hqlGetList(hql, argsMap);
	}

	public void hqlUpdate(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		sysCateAttributeTabDao.hqlUpdate(namedHqlQuery, argsMap);
	}

	public Long hqlGetNums(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		return sysCateAttributeTabDao.hqlGetNums(namedHqlQuery, argsMap);
	}

	public List<SysCateAttributeTab> sqlGetList(String sqls,
			Map<String, Object> argsMap) throws Exception {
		return sysCateAttributeTabDao.sqlGetList(sqls, argsMap);
	}

	public void sqlUpdate(String sqls, Map<String, Object> argsMap)
			throws Exception {
		sysCateAttributeTabDao.sqlUpdate(sqls, argsMap);
	}

	public Long sqlGetNum(String sqls, Map<String, Object> argsMap)
			throws Exception {
		return sysCateAttributeTabDao.sqlGetNum(sqls, argsMap);
	}
	//Setter

	public void setSysCateAttributeTabDao(
			BaseDao<SysCateAttributeTab> sysCateAttributeTabDao) {
		this.sysCateAttributeTabDao = sysCateAttributeTabDao;
	}
	
}